package edu.whut.mall.admin.mapper;

import edu.whut.mall.admin.domain.ProductSearchParams;
import edu.whut.mall.admin.vo.ProductVo;

import java.util.List;

/**
 * @program: d9lab-mall
 * @description: 自定义商品mapper
 * @author: Wayne
 * @create: 2020-05-05 12:09
 **/
public interface ProductCustomMapper {
    ProductVo getProductDetailVoByProductId(Long productId);

    List<ProductVo> listProductVosByCategoryId(Long categoryId);

    List<ProductVo> listProductVos(Long merchantId);

    List<ProductVo> listProductVosByCondition(ProductSearchParams productSearchParams);
}
